
arr=input().split()

heightSum=0
for a in arr:
    heightSum=heightSum+len(a)
print(round(heightSum/len(arr),2))
"who love solo"

